]> dgit.raspbian.org Git - gnome-shell.git/commit
power: Use more fine-grained battery levels
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 28 May 2019 17:56:36 +0000 (17:56 +0000)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 12 Jul 2019 21:24:35 +0000 (23:24 +0200)
commitbd18313d125aa1873c21b9cce9bbf81a335e48b0
treed2d81ac4961d8f4daad1fd65345b51645640040f
parent2ff7a78b5693973f28b66c31d78b919d56c06650
power: Use more fine-grained battery levels

Adwaita-icon-theme added new battery icons which represent battery levels
in 10% steps[0]. Use these if they are available, otherwise fall back to
the existing icon names for compatibility with older icon themes.

[0] https://gitlab.gnome.org/GNOME/adwaita-icon-theme/issues/6

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/561
js/ui/status/power.js